$OpenBSD: patch-sgtk_swidgets_slinkspin_c,v 1.1 2010/03/21 09:24:25 jasper Exp $
--- sgtk/swidgets/slinkspin.c.orig	Sun Apr 26 19:39:54 2009
+++ sgtk/swidgets/slinkspin.c	Mon Feb  1 09:04:43 2010
@@ -126,7 +126,8 @@ GtkWidget *sc_link_spin_new(int *value, int min, int m
    spin = g_object_new(sc_link_spin_get_type(), NULL);
    g_return_val_if_fail(spin != NULL, NULL);
 
-   spinadjust = (GtkAdjustment *)gtk_adjustment_new(*value, min, max, step, step, step);
+   /* GtkSpinButton: setting an adjustment with non-zero page size is deprecated */
+   spinadjust = (GtkAdjustment *)gtk_adjustment_new(*value, min, max, step, step, 0);
    gtk_spin_button_configure(GTK_SPIN_BUTTON(spin), spinadjust, 1, 0);
    gtk_widget_set_size_request(GTK_WIDGET(spin), 80, -1);
    gtk_spin_button_set_snap_to_ticks(GTK_SPIN_BUTTON(spin), TRUE);
@@ -222,7 +223,8 @@ GtkWidget *sc_link_spinf_new(double *value, double min
    spin = g_object_new(sc_link_spinf_get_type(), NULL);
    g_return_val_if_fail(spin != NULL, NULL);
 
-   spinadjust = (GtkAdjustment *)gtk_adjustment_new(*value, min, max, step, step, step);
+   /* GtkSpinButton: setting an adjustment with non-zero page size is deprecated */
+   spinadjust = (GtkAdjustment *)gtk_adjustment_new(*value, min, max, step, step, 0);
    gtk_spin_button_configure(GTK_SPIN_BUTTON(spin), spinadjust, 1, 3);
    gtk_widget_set_size_request(GTK_WIDGET(spin), 80, -1);
    gtk_spin_button_set_snap_to_ticks(GTK_SPIN_BUTTON(spin), FALSE);
